]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix --debug option to default to gdb
authorOwen Taylor <otaylor@src.gnome.org>
Sun, 2 Nov 2008 03:03:00 +0000 (03:03 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sun, 2 Nov 2008 03:03:00 +0000 (03:03 +0000)
When --debug is specified, pick up the default value for
--debug-command of 'gdb --args' correctly.

svn path=/trunk/; revision=20

scripts/launcher.py

index 19b076441d5cfc4a64b6eb826d8472289112b8f4..a52e372914b2da4d8083320e45427bfc13f01edb 100644 (file)
@@ -71,7 +71,7 @@ class Launcher:
             env['GJS_DEBUG_TOPICS'] = 'JS LOG'
 
         if self.options.debug:
-            args = list(self.options.debug_command)
+            args = list(self.debug_command)
         else:
             args = []